package com.gqs.bookstore.vo;

import java.io.Serializable;
import java.util.Date;

@SuppressWarnings("serial")
public class Catalog implements Serializable {
	private Long id;
	private String name;
	private Integer status;
	private Date updateAt;
	private Date createAt;
	public Catalog() {
	}
	public Catalog(String name, Integer status, Date updateAt, Date createAt) {
		super();
		this.name = name;
		this.status = status;
		this.updateAt = updateAt;
		this.createAt = createAt;
	}
	
	public Catalog(String name, Date updateAt, Date createAt) {
		super();
		this.name = name;
		this.updateAt = updateAt;
		this.createAt = createAt;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Date getUpdateAt() {
		return updateAt;
	}
	public void setUpdateAt(Date updateAt) {
		this.updateAt = updateAt;
	}
	public Date getCreateAt() {
		return createAt;
	}
	public void setCreateAt(Date createAt) {
		this.createAt = createAt;
	}
	@Override
	public String toString() {
		return "Catalog [id=" + id + ", name=" + name + ", status=" + status
				+ ", updateAt=" + updateAt + ", createAt=" + createAt + "]";
	}
}
